import React, { Component, Suspense } from 'react';
// import { connect } from 'dva';
import { Layout, Menu, Breadcrumb, Carousel, Row, Col, Icon, List, Typography } from 'antd';
// import Slider from "react-slick";
// import Ellipsis from 'ant-design-pro/lib/Ellipsis';
// import 'ant-design-pro/dist/ant-design-pro.css';
import { YUAN } from "../../constants";
import styles from './index.less';

class ListItem extends Component {
  state = {
  };

  render() {
    const { data } = this.props;

    return (
      <div>
        <img className={styles.img} src={YUAN} />
        <span>{data}</span>
      </div>
    );
  }
}

export default ListItem;
